<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    //ES6 类的语法
    class A{
      static b = 200;
    }
    console.log(A.b);

    //ES5 构造函数的语法
    function Fn(){}
    Fn.b = 200;

  </script>
</body>
</html>